package com.gimi.cloud.jimi.app.consumer.feign.product;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.gimi.cloud.jimi.dto.product.ProductDto;

import feign.Headers;

@FeignClient(name = "jimi-app-service")
public interface ProductFeignService {
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "/product/getProductDetail", method = RequestMethod.POST)
    String getProductDetail(@RequestBody ProductDto params);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/product/getProductProp", method = RequestMethod.POST)
	String getProductProp(@RequestBody ProductDto params);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/product/getModelValueList", method = RequestMethod.POST)
	String getModelValueList(@RequestBody ProductDto params);
	
}
